package com.baselibrary.test.ui;

import android.os.Bundle;

import com.baselibrary.libs.View.bar.initAction_Bar;
import com.baselibrary.libs.View.webView.MyWebView;
import com.baselibrary.libs.base.baseActivity.BaseActivity;
import com.baselibrary.test.R;

/**3
 * 浏览器activity
 */
public class Main3Activity extends BaseActivity {
   private String path = "https://www.baidu.com";
   // private String path = "http://wechat.easy-boarding.com/wechat/hotel";
    private MyWebView my_WebView;
    private initAction_Bar action_bar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public int getlayouXML() {
        return com.baselibrary.test.R.layout.activity_main3;
    }

    @Override
    public void initP() {

    }

    @Override
    public void initView() {

        my_WebView = (MyWebView) findViewById(R.id.my_WebView);
        action_bar = (initAction_Bar) findViewById(R.id.action_bar);

        action_bar.set_Title("浏览器");

        initData();
    }

    @Override
    public void initData() {
        my_WebView.initData_url(path);
    }

    @Override
    public void initListener() {

    }
}
